#!/bin/sh

# export CATALINA_OPTS="-javaagent:/usr/local/tomcat/lib/dd-java-agent.jar \
#                       -Ddd.jmxfetch.enabled=true \
#                       -Ddd.jmxfetch.statsd.host=10.100.65.14 \
#                       -Ddd.jmxfetch.statsd.port=8125 \
#                       -Ddd.jmxfetch.tomcat.enabled=true \
#                       -Dcom.sun.management.jmxremote.host=127.0.0.1 \
#                       -Dcom.sun.management.jmxremote.rmi.port=9000 \
#                       -Dcom.sun.management.jmxremote.ssl=false \
#                       -Dcom.sun.management.jmxremote.authenticate=false\
# "

export CATALINA_OPTS="-javaagent:/usr/local/tomcat/lib/dd-java-agent.jar \
                      -Ddd.jmxfetch.enabled=true \
                      -Ddd.jmxfetch.statsd.host=10.100.65.14 \
                      -Ddd.jmxfetch.statsd.port=8125 \
                      -Ddd.jmxfetch.tomcat.enabled=true \
"
